﻿using System;
using System.Data;


namespace butterfly.core.metier
{
    public class Fly
    {
        int Id;
        string fly_number;
        DateTime departure_date;
        DateTime arrival_date;
        int nb_place;
        Double price_baby;
        Double price_children;
        Double price_adult;
        
        City departure_city;
        City arrival_city;
        Plane plane;

        internal Plane Plane
        {
            get { return plane; }
            set { plane = value; }
        }

        public int _Id
        {
            get { return Id; }
            set { Id = value; }
        }
        
        public string _fly_number
        {
            get { return fly_number; }
            set { fly_number = value; }
        }
        
        public DateTime _departure_date
        {
            get { return departure_date; }
            set { departure_date = value; }
        }
       
        public DateTime _arrival_date
        {
            get { return arrival_date; }
            set { arrival_date = value; }
        }
        
        public int _nb_place
        {
            get { return nb_place; }
            set { nb_place = value; }
        }
       
        public Double _price_baby
        {
            get { return price_baby; }
            set { price_baby = value; }
        }
        
        public Double _price_children
        {
            get { return price_children; }
            set { price_children = value; }
        }
        
        public Double _price_adult
        {
            get { return price_adult; }
            set { price_adult = value; }
        }
        
        public City _departure_city
        {
            get { return departure_city; }
            set { departure_city = value; }
        }
        
        public City _arrival_city
        {
            get { return arrival_city; }
            set { arrival_city = value; }
        }
        

       /* public Plane _plane
        {
            get { return plane; }
            set { plane = value; }
        }*/

        public Fly()
        {
           
        }

    }
}